﻿// /////////////////////////////////// 
//  
//  
//      WiseLink CCF2.0 
//     (c)Copyright 2001-2010 WiseLink Xiaojun (David) Chen 
//        Authored and Owned Xiaojun (David) Chen 
//        All Right Reserved
//  
// /////////////////////////////////// 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CCF20Model.Common.Infrastructure;
using System.Windows;
using CCF20.Resources;

namespace CCF20Module
{
    [Serializable]
    public class LoginWindowModel : ObservableObject
    {

        String _idsName = String.Empty;
        String _idsPwd = String.Empty;
        String _ccfUserName = String.Empty;
        String _ccfPwd = String.Empty;
        String _ccfChangedPwd = String.Empty;
        String _loginStatus = StringLogin.lblLoginStatus;
        Visibility _showChangePwdPanel = Visibility.Collapsed;
        Visibility _showIDSLoginPanel = Visibility.Collapsed;

        public Visibility ShowChangePwdPanel
        {
            get { return _showChangePwdPanel; }
            set
            {
                _showChangePwdPanel = value;
                RaisePropertyChanged("ShowChangePwdPanel");
            }
        }
        public Visibility ShowIDSLoginPanel
        {
            get { return _showIDSLoginPanel; }
            set
            {
                _showIDSLoginPanel = value;
                RaisePropertyChanged("ShowIDSLoginPanel");
            }
        }

        public String LoginStatus
        {
            get { return _loginStatus; }
            set
            {
                _loginStatus = value;
                RaisePropertyChanged("LoginStatus");
            }
        }
        

        public String IDSName
        {
            get { return _idsName; }
            set
            {
                _idsName = value;
                RaisePropertyChanged("IDSName");
            }
        }

        public String IDSPassword
        {
            get { return _idsPwd; }
            set
            {
                _idsPwd = value;
                RaisePropertyChanged("IDSPassword");
            }
        }

       
        public String CCFUserName
        {
            get { return _ccfUserName; }
            set
            {
                _ccfUserName = value;
                RaisePropertyChanged("CCFUserName");
            }
        }

         public String CCFPassword
        {
            get { return _ccfPwd; }
            set
            {
                _ccfPwd = value;
                RaisePropertyChanged("CCFPassword");
            }
        }

        public String CCFChangedPassword
        {
            get { return _ccfChangedPwd; }
            set
            {
                _ccfChangedPwd = value;
                RaisePropertyChanged("CCFChangedPassword");
            }
        }


        public LoginWindowModel()
        {
            
        }
    }
}
